<template>
    <div class="box">
        <el-button type="primary" @click="changerouter('com')" >制片车间综合看板</el-button>
        <el-button type="primary" @click="changerouter('dedicated')" >良率柏拉图</el-button>
        <el-button type="primary" @click="changerouter('defectRawData')" >不良原始数据</el-button>
        <el-button type="primary" @click="changerouter('east')" >可视化综合看板</el-button>
        <el-button type="primary" @click="changerouter('epo')" >各工序产出</el-button>
        <el-button type="primary" @click="changerouter('integrate')" >良率不良率</el-button>
        <el-button type="primary" @click="changerouter('main')" >设备状态</el-button>
        <el-button type="primary" @click="changerouter('rawTable')" >原始数据</el-button>
        <el-button type="primary" @click="changerouter('sumTable')" >良率汇总</el-button>
        <el-button type="primary" @click="changerouter('swiper')" >轮播图例子</el-button>
    </div>
    <div class="box">
        <el-button type="primary" @click="changerouter('table')" >各工序数据</el-button>
        <el-button type="primary" @click="changerouter('test')" >温湿度监控</el-button>
        <el-button type="primary" @click="changerouter('TodayTable')" >今日数据</el-button>
        <el-button type="primary" @click="changerouter('tpr')" >总生产报表</el-button>
        <el-button type="primary" @click="changerouter('sorting')" >分选</el-button>
        <el-button type="primary" @click="changerouter('girlSwiper')" >美女轮播</el-button>
        <el-button type="primary" @click="changerouter('EquipmentOEEManagementReport')" >A设备OEE管理看板（滚动）</el-button>
        <el-button type="primary" @click="changerouter('DeviceManagementReport')" >设备管理看板</el-button>
        <el-button type="primary" @click="changerouter('rollingTable')" >滚动表格</el-button>
        <el-button type="primary" @click="changerouter('spcLegend')" >spc图例</el-button>
        <el-button type="primary" @click="changerouter('newPage')">newPage</el-button>
    </div>
  <div class="box">
    <el-button type="primary" @click="changerouter('temperHumChart')" >温湿度曲线图</el-button>
  </div>
</template>

<script setup>
import { useRouter } from 'vue-router'

const router = useRouter()

const changerouter = (rt)=>{
    router.push('/'+rt)
}

</script>

<style scoped>
.box{
    margin: 10px;
}
</style>
